package com.limf.demo.spring;

public class Boss {

	private String name;
	private Car car;
	private Integer age;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Car getCar() {
		return car;
	}
	public void setCar(Car car) {
		this.car = car;
	}
	public Integer getAge() {
		return age;
	}
	public void setAge(Integer age) {
		this.age = age;
	}
	public Boss(String name, Car car, Integer age) {
		super();
		System.out.println("The name of the boss "+name+ ", He has a "+car.getBrand() + " age is "+age);
		this.name = name;
		this.car = car;
		this.age = age;
	}
	public Boss() {
		super();
	}
	
	
	
}
